- 
		Home
	
- 
Advanced Ads – Ad Manager & AdSense
- 
1.52.1
- 
Code
- 
Classes
-  Advanced_Ads 
		
			
				
					
													
								
																			
											| Total Complexity | 169 | 
																			
											| Dependencies | 14 | 
																			
											| Dependents | 37 | 
																	
							 
													
								
																			
											| Total lines | 981 | 
																			
											| Lines of code | 450 | 
																			
											| Logical lines of code | 266 | 
																	
							 
													
								
																			
											| Comment lines | 384 | 
																			
											| Methods | 41 | 
																			
											| Properties | 16 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 41
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| inject_content() | D | 33 | 38 | 78 | 
					
				| set_disabled_constant() | C | 37 | 30 | 65 | 
					
				| debug_parameter() | A | 47 | 10 | 36 | 
					
				| noindex_attachment_images() | S | 60 | 8 | 11 | 
					
				| is_cache_bot() | S | 57 | 6 | 16 | 
					
				| inject_header() | S | 61 | 6 | 11 | 
					
				| inject_footer() | S | 61 | 6 | 11 | 
					
				| get_label() | S | 59 | 5 | 12 | 
					
				| can_display_ads() | S | 63 | 5 | 10 | 
					
				| log() | S | 62 | 4 | 11 | 
					
				| custom_header_code() | S | 58 | 3 | 21 | 
					
				| is_bot() | S | 60 | 3 | 12 | 
					
				| get_adsense_options() | S | 69 | 3 | 6 | 
					
				| in_the_loop() | S | 69 | 3 | 8 | 
					
				| set_was_in_the_loop() | S | 67 | 3 | 8 | 
					
				| __construct() | S | 60 | 2 | 12 | 
					
				| get_instance() | S | 71 | 2 | 6 | 
					
				| get_model() | S | 69 | 2 | 7 | 
					
				| get_bots() | S | 78 | 2 | 3 | 
					
				| set_query_type() | S | 73 | 2 | 5 | 
					
				| is_main_query() | S | 71 | 2 | 6 | 
					
				| has_many_the_content() | S | 68 | 2 | 7 | 
					
				| get_number_of_ads() | S | 64 | 2 | 9 | 
					
				| switch_to_blog() | S | 72 | 2 | 6 | 
					
				| restore_current_blog() | S | 72 | 2 | 6 | 
					
				| wp_plugins_loaded() | S | 60 | 1 | 12 | 
					
				| advanced_ads_loaded() | S | 81 | 1 | 3 | 
					
				| wp_init() | S | 82 | 1 | 3 | 
					
				| set_ad_types() | S | 75 | 1 | 4 | 
					
				| init_injection() | S | 71 | 1 | 5 | 
					
				| disable_ads() | S | 75 | 1 | 5 | 
					
				| get_plugin_slug() | S | 81 | 1 | 3 | 
					
				| setup_default_ad_types() | S | 66 | 1 | 8 | 
					
				| options() | S | 81 | 1 | 3 | 
					
				| internal_options() | S | 81 | 1 | 3 | 
					
				| get_ads() | S | 79 | 1 | 3 | 
					
				| get_ad_groups() | S | 79 | 1 | 3 | 
					
				| get_ad_placements_array() | S | 79 | 1 | 3 | 
					
				| get_ad_conditions() | S | 79 | 1 | 3 | 
					
				| set_loop_start() | S | 81 | 1 | 3 | 
					
				| set_loop_end() | S | 81 | 1 | 3 |